package com.cloudkinto.vo.order.outbound;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 批发单批量拣货
 */
@Data
public class TransferPickingByBatchDetail {
    private Long id;
    @ApiModelProperty("客户id")
    private Long companyId;
    @ApiModelProperty("出库单号")
    private String outboundNo;
    @ApiModelProperty("出库方式 1按产品 2按箱")
    private Integer outboundMode;
    private String trackingNumber;
    private String remark;
    @ApiModelProperty("批发单批量拣货数据")
    private List<PickingListByBatch> pickingByBatchList = new ArrayList<>();

    @Data
    public static class PickingListByBatch {
        private Long outboundProductId;
        @ApiModelProperty("出库产品id或箱号")
        private String productIdOrBoxTypeNumber;
        private String sku;
        @ApiModelProperty("产品条码")
        private String janCodeOrItf;
        @ApiModelProperty("预报出库数")
        private Integer forecastQty;
        @ApiModelProperty("实际出库数")
        private Integer outboundQty;
        private List<CellInfo> cellInfoList = new ArrayList<>();
    }

}
